LassoScript Utility
Basics Browse Detail

[Integer->NetToHost32]

Tag Link [Integer->NetToHost32] Category Math
Type Member Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type Bytes Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0

Description

[Integer->NetToHost32] swaps the first 32 bits of an integer on a low-endian machine such as (Windows). This is an important operation for many network operations.

This tag does nothing on a big-endian machine (Mac OS X).

Syntax

[Var: 'myVar' = 0xffffffffffffffffffffffffffffffff]
[$myVar->NetToHost32]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.